package com.gax.service;

import com.gax.pojo.Headline;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gax.utils.Result;
import com.gax.vo.PortalVo;

/**
* @author 19115
* @description 针对表【news_headline】的数据库操作Service
* @createDate 2025-06-16 19:50:31
*/
public interface HeadlineService extends IService<Headline> {
    // 首页数据分页查询
    Result findNewsPage(PortalVo portalVo);

    Result showHeadlineDetail(Integer hid);

    Result publish(Headline headline,String token);

    Result updateData(Headline headline);
}
